﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BuildCode.Models
{
    public interface IDataBase
    {
        void SetConfig(string config,string configExt);
        List<TableInfo> GetTableList();

        List<ColumnInfo> GetColumnList(string TableName);
        /// <summary>
        /// 刷新数据
        /// </summary>
        void RefreshData();

        /// <summary>
        /// 测试能否连接成功
        /// </summary>
        /// <returns></returns>
        string CheckConnection();
    }
}
